import {post} from "./request.js";

export const initUpload=file=>{
    return post('/file/upload_init',file)
}

export const finishUpload=fileId=>{
    return post(`/file/${fileId}/upload_finish`)
}